1. Introduction
The Item Analyzer application is used to display a list of Items that are about to be archived and/or Items that are to be reviewed.
If the archive date of an Item is prior to the current date, but the Item is not archived yet, then such an Item is considered as the Item to be archived.
Such Items are archived and removed from the content tree the next time the scheduled tasks are checked.
Please refer to the Archiving Items article for more information about archiving.
Items to be reviewed are the Items that are not in their final workflow state.
Please refer to the Understanding Workflow article for more information about workflows.
2. Installation Guide
The Item Analyzer XAML application is distributed as a standard Sitecore package; hence in order to start using it, you should install the package. Please refer to the 'Installing Modules and Packages' article if you are not familiar with the standard Sitecore Packager tool.
After the package installation, a shortcut to Item Analyzer application will be created in the All Applications section (see the picture below).
Thus you will be able to use this application like any other Sitecore application.
No client modifications are required to use the Item Analyzer.
3. General Description
The Items to be archived functionality.
The concept:
- Get all tasks, which have not run yet and get the list of Archiving tasks; then get Items according to the list. In Sitecore, a separate archiving task is created for every Item after the Item save action.
Note: An Item is present in the content tree until the archive task is not run. After the archiving is performed, this Item will be archived and removed from the content tree.
The Items to be reviewed functionality.
The concept:
- Get all workflows, get non-final states for these workflows (if the ‘Show items in prefinal state only’ checkbox is checked (see the User manual for details), we need to find states which reference to the final state of the workflow), then get all Items which are not in their final workflow state.
4. User Manual
The Item Analyzer is a common Sitecore Application. You can see its screenshot below:
The application consists of two parts:
- The options section on the left
- The content (results) on the right.
In the options section, you can choose which results will be displayed:
The “Items to be reviewed” option has the “Show items in prefinal state only” suboption. Check it if you want only the Items in their prefinal workflow state to be included in the list.
If this checkbox is not checked, the application will display all Items which are in the states different from final.
You can navigate to an Item from the list If you double-click on it.